Class: Language::Lua::Function
- Inherits:
-
Object
- Object
- Language::Lua::Function
- Defined in:
- lib/language/lua/function.rb
Instance Attribute Summary collapse
-
#fname ⇒ Object
Returns the value of attribute fname.
-
#lua ⇒ Object
Returns the value of attribute lua.
Instance Method Summary collapse
Instance Attribute Details
#fname ⇒ Object
Returns the value of attribute fname.
4 5 6 |
# File 'lib/language/lua/function.rb', line 4 def fname @fname end |
#lua ⇒ Object
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 |