Class: Zenlish::Inflect::FormalArgument
- Inherits:
-
Object
- Object
- Zenlish::Inflect::FormalArgument
- Defined in:
- lib/zenlish/inflect/formal_argument.rb
Instance Attribute Summary collapse
-
#index ⇒ Object
readonly
Returns the value of attribute index.
Instance Method Summary collapse
-
#initialize(anIndex) ⇒ FormalArgument
constructor
A new instance of FormalArgument.
Constructor Details
#initialize(anIndex) ⇒ FormalArgument
Returns a new instance of FormalArgument.
6 7 8 |
# File 'lib/zenlish/inflect/formal_argument.rb', line 6 def initialize(anIndex) @index = anIndex end |
Instance Attribute Details
#index ⇒ Object (readonly)
Returns the value of attribute index.
4 5 6 |
# File 'lib/zenlish/inflect/formal_argument.rb', line 4 def index @index end |