Class: Bogy::Handler
- Inherits:
-
Object
- Object
- Bogy::Handler
- Defined in:
- lib/bogy/handler.rb
Overview
Abstract class for handlers (FileHandler, StringHandler…)
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#hash ⇒ Object
4 5 6 7 |
# File 'lib/bogy/handler.rb', line 4 def hash load_to_hash @hash end |
#load ⇒ Object
9 |
# File 'lib/bogy/handler.rb', line 9 def load; end |
#load_to_hash ⇒ Object
11 12 13 |
# File 'lib/bogy/handler.rb', line 11 def load_to_hash @hash ||= load end |