Class: Brutalismbot::Base
- Inherits:
-
Object
- Object
- Brutalismbot::Base
- Extended by:
- Parser, Forwardable
- Defined in:
- lib/brutalismbot/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(item = {}) ⇒ Base
constructor
A new instance of Base.
Methods included from Parser
Constructor Details
#initialize(item = {}) ⇒ Base
17 18 19 |
# File 'lib/brutalismbot/base.rb', line 17 def initialize(item = {}) @item = JSON.parse(item.to_json) end |