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 |
# File 'lib/bogy/handler.rb', line 4 def hash load_to_hash end |
#load ⇒ Object
8 |
# File 'lib/bogy/handler.rb', line 8 def load; end |
#load_to_hash ⇒ Object
10 11 12 |
# File 'lib/bogy/handler.rb', line 10 def load_to_hash @hash ||= load end |