Class: BEL::Language::Function
- Inherits:
-
Object
- Object
- BEL::Language::Function
- Defined in:
- lib/bel/language.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#long_form ⇒ Object
readonly
Returns the value of attribute long_form.
-
#return_type ⇒ Object
readonly
Returns the value of attribute return_type.
-
#short_form ⇒ Object
readonly
Returns the value of attribute short_form.
-
#signatures ⇒ Object
readonly
Returns the value of attribute signatures.
Instance Method Summary collapse
-
#initialize(args) ⇒ Function
constructor
A new instance of Function.
Constructor Details
#initialize(args) ⇒ Function
Returns a new instance of Function.
159 160 161 162 163 |
# File 'lib/bel/language.rb', line 159 def initialize args args.each do |k,v| instance_variable_set("@#{k}", v) unless v.nil? end end |
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description.
156 157 158 |
# File 'lib/bel/language.rb', line 156 def description @description end |
#long_form ⇒ Object (readonly)
Returns the value of attribute long_form.
156 157 158 |
# File 'lib/bel/language.rb', line 156 def long_form @long_form end |
#return_type ⇒ Object (readonly)
Returns the value of attribute return_type.
156 157 158 |
# File 'lib/bel/language.rb', line 156 def return_type @return_type end |
#short_form ⇒ Object (readonly)
Returns the value of attribute short_form.
156 157 158 |
# File 'lib/bel/language.rb', line 156 def short_form @short_form end |
#signatures ⇒ Object (readonly)
Returns the value of attribute signatures.
156 157 158 |
# File 'lib/bel/language.rb', line 156 def signatures @signatures end |