Class: CodelessCode::Formats::Base
- Inherits:
-
Object
- Object
- CodelessCode::Formats::Base
- Defined in:
- lib/codeless_code/formats/base.rb
Overview
Abstract base class for all formats.
Instance Attribute Summary collapse
-
#raw ⇒ Object
readonly
Returns the value of attribute raw.
Instance Method Summary collapse
-
#initialize(raw) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(raw) ⇒ Base
Returns a new instance of Base.
26 27 28 |
# File 'lib/codeless_code/formats/base.rb', line 26 def initialize(raw) @raw = raw end |
Instance Attribute Details
#raw ⇒ Object (readonly)
Returns the value of attribute raw.
24 25 26 |
# File 'lib/codeless_code/formats/base.rb', line 24 def raw @raw end |