Class: Fairy::PIotaPlace
- Inherits:
-
Object
- Object
- Fairy::PIotaPlace
- Defined in:
- lib/fairy/share/file-place.rb
Instance Attribute Summary collapse
-
#first ⇒ Object
readonly
Returns the value of attribute first.
-
#last ⇒ Object
readonly
Returns the value of attribute last.
-
#no ⇒ Object
readonly
Returns the value of attribute no.
Instance Method Summary collapse
-
#initialize(no, first, last) ⇒ PIotaPlace
constructor
A new instance of PIotaPlace.
Constructor Details
#initialize(no, first, last) ⇒ PIotaPlace
Returns a new instance of PIotaPlace.
145 146 147 148 149 |
# File 'lib/fairy/share/file-place.rb', line 145 def initialize(no, first, last) @no = no @first = first @last = last end |
Instance Attribute Details
#first ⇒ Object (readonly)
Returns the value of attribute first.
152 153 154 |
# File 'lib/fairy/share/file-place.rb', line 152 def first @first end |
#last ⇒ Object (readonly)
Returns the value of attribute last.
153 154 155 |
# File 'lib/fairy/share/file-place.rb', line 153 def last @last end |
#no ⇒ Object (readonly)
Returns the value of attribute no.
151 152 153 |
# File 'lib/fairy/share/file-place.rb', line 151 def no @no end |