Class: Fairy::PIotaPlace

Inherits:
Object
  • Object
show all
Defined in:
lib/fairy/share/file-place.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#firstObject (readonly)

Returns the value of attribute first.



152
153
154
# File 'lib/fairy/share/file-place.rb', line 152

def first
  @first
end

#lastObject (readonly)

Returns the value of attribute last.



153
154
155
# File 'lib/fairy/share/file-place.rb', line 153

def last
  @last
end

#noObject (readonly)

Returns the value of attribute no.



151
152
153
# File 'lib/fairy/share/file-place.rb', line 151

def no
  @no
end