Class: BEL::Language::Function

Inherits:
Object
  • Object
show all
Defined in:
lib/bel/language.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descriptionObject (readonly)

Returns the value of attribute description.



156
157
158
# File 'lib/bel/language.rb', line 156

def description
  @description
end

#long_formObject (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_typeObject (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_formObject (readonly)

Returns the value of attribute short_form.



156
157
158
# File 'lib/bel/language.rb', line 156

def short_form
  @short_form
end

#signaturesObject (readonly)

Returns the value of attribute signatures.



156
157
158
# File 'lib/bel/language.rb', line 156

def signatures
  @signatures
end