Class: Ryan::InstanceFunc
- Inherits:
-
Func
- Object
- Func
- Ryan::InstanceFunc
show all
- Defined in:
- lib/ryan/instance_func.rb
Instance Attribute Summary
Attributes inherited from Func
#_private, #sexp
Instance Method Summary
collapse
Methods inherited from Func
#assignments, #conditions, #find_assignments, #initialize, #map_args
Constructor Details
This class inherits a constructor from Ryan::Func
Instance Method Details
#args ⇒ Object
6
7
8
|
# File 'lib/ryan/instance_func.rb', line 6
def args
map_args(sexp[2]) if sexp[2].first == :args
end
|
#class? ⇒ Boolean
10
11
12
|
# File 'lib/ryan/instance_func.rb', line 10
def class?
false
end
|
#name ⇒ Object
2
3
4
|
# File 'lib/ryan/instance_func.rb', line 2
def name
sexp[1]
end
|