Class: Session::History
- Inherits:
-
Object
- Object
- Session::History
- Defined in:
- lib/session.rb
Instance Method Summary collapse
-
#initialize ⇒ History
constructor
A new instance of History.
- #method_missing(m, *a, &b) ⇒ Object
- #to_yaml(*a, &b) ⇒ Object (also: #to_s, #to_str)
Constructor Details
#initialize ⇒ History
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 |