Class: Pure::Names
- Inherits:
-
Object
- Object
- Pure::Names
- Defined in:
- lib/pure/names.rb
Instance Attribute Summary collapse
-
#arg_names ⇒ Object
readonly
Returns the value of attribute arg_names.
-
#fun_name ⇒ Object
readonly
Returns the value of attribute fun_name.
Instance Method Summary collapse
-
#initialize(fun_name, arg_names) ⇒ Names
constructor
A new instance of Names.
Constructor Details
#initialize(fun_name, arg_names) ⇒ Names
Returns a new instance of Names.
5 6 7 |
# File 'lib/pure/names.rb', line 5 def initialize(fun_name, arg_names) @fun_name, @arg_names = fun_name, arg_names end |
Instance Attribute Details
#arg_names ⇒ Object (readonly)
Returns the value of attribute arg_names.
4 5 6 |
# File 'lib/pure/names.rb', line 4 def arg_names @arg_names end |
#fun_name ⇒ Object (readonly)
Returns the value of attribute fun_name.
4 5 6 |
# File 'lib/pure/names.rb', line 4 def fun_name @fun_name end |