Class: Language::Lua::Function

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#fnameObject

Returns the value of attribute fname.



4
5
6
# File 'lib/language/lua/function.rb', line 4

def fname
  @fname
end

#luaObject

Returns the value of attribute lua.



4
5
6
# File 'lib/language/lua/function.rb', line 4

def lua
  @lua
end

Instance Method Details

#call(*args) ⇒ Object



6
7
8
# File 'lib/language/lua/function.rb', line 6

def call(*args)
  @lua.call(fname, *args)
end