Class: HistoryNormal
- Inherits:
-
Object
- Object
- HistoryNormal
- Defined in:
- lib/red_query/history.rb
Instance Method Summary collapse
Instance Method Details
#get ⇒ Object
7 8 9 |
# File 'lib/red_query/history.rb', line 7 def get String.new(`location.hash.substr(1)`) end |
#set(hash) ⇒ Object
2 3 4 5 |
# File 'lib/red_query/history.rb', line 2 def set(hash) `location.hash = "#" + #{hash}.__value__` true end |