elasticsearch-ruby

https://github.com/elastic/elasticsearch-ruby

Ruby

Ruby integrations for Elasticsearch

Opal::Nodes::PostArgsNode#required_right_args

required_right_args contains the list of required post args
like normarg and mlhs arg
For post-args: can be provided from
  def m(a=1,*b,c)
  post-args = [(:optarg, :a, (:int, 1)), (:restarg, :b), (:arg, :c)]
  required_right_args = [(:arg, :c)]
For mlhs: can be provided from
  (*a, b)
  required_right_args = [(:arg, :b)]

Source | Google | Stack overflow

Edit

git clone [email protected]:elastic/elasticsearch-ruby.git

cd elasticsearch-ruby

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Opal--Nodes--PostArgsNode-required_right_args-for-pr


# Commit to git

git add git commit -m "better docs for Opal::Nodes::PostArgsNode#required_right_args"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Opal--Nodes--PostArgsNode-required_right_args-for-pr

hub pull-request


# Celebrate!