Class: Session::History

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

Instance Method Summary collapse

Constructor Details

#initializeHistory

Returns a new instance of History.



35
# File 'lib/session.rb', line 35

def initialize; @a = []; end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(m, *a, &b) ⇒ Object



36
# File 'lib/session.rb', line 36

def method_missing(m,*a,&b); @a.send(m,*a,&b); end

Instance Method Details

#to_yaml(*a, &b) ⇒ Object Also known as: to_s, to_str



37
# File 'lib/session.rb', line 37

def to_yaml(*a,&b); @a.to_yaml(*a,&b); end