Class: CodelessCode::Formats::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/codeless_code/formats/base.rb

Direct Known Subclasses

Raw, Term

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(raw) ⇒ Base

Returns a new instance of Base.



21
22
23
# File 'lib/codeless_code/formats/base.rb', line 21

def initialize(raw)
  @raw = raw
end

Instance Attribute Details

#rawObject

Returns the value of attribute raw.



19
20
21
# File 'lib/codeless_code/formats/base.rb', line 19

def raw
  @raw
end