Class: Fonecal::Session

Inherits:
Object
  • Object
show all
Defined in:
lib/fonecal/session.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#lengthObject

Returns the value of attribute length.



3
4
5
# File 'lib/fonecal/session.rb', line 3

def length
  @length
end

#startObject

Returns the value of attribute start.



3
4
5
# File 'lib/fonecal/session.rb', line 3

def start
  @start
end

Instance Method Details

#initilaize(start, length) ⇒ Object



5
6
7
8
# File 'lib/fonecal/session.rb', line 5

def initilaize(start, length)
  @start = start
  @length = length
end