Module: GitCompound::Command::Procedure::Element::Option::ClassMethods

Defined in:
lib/git_compound/command/procedure/element/option.rb

Overview

Class methods

Instance Method Summary collapse

Instance Method Details

#add_argument(name, metadata) ⇒ Object



26
27
28
# File 'lib/git_compound/command/procedure/element/option.rb', line 26

def add_argument(name, )
  add_option(name, :argument, )
end

#add_parameter(name, metadata) ⇒ Object



22
23
24
# File 'lib/git_compound/command/procedure/element/option.rb', line 22

def add_parameter(name, )
  add_option(name, :parameter, )
end

#optionsObject



30
31
32
# File 'lib/git_compound/command/procedure/element/option.rb', line 30

def options
  (@options || {}).merge(super)
end