Class: Jeanny::Code
- Inherits:
-
Object
- Object
- Jeanny::Code
- Defined in:
- lib/jeanny/engine.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code) ⇒ Code
constructor
A new instance of Code.
- #replace(classes) ⇒ Object
Constructor Details
#initialize(code) ⇒ Code
Returns a new instance of Code.
218 219 220 |
# File 'lib/jeanny/engine.rb', line 218 def initialize code @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
216 217 218 |
# File 'lib/jeanny/engine.rb', line 216 def code @code end |
Instance Method Details
#replace(classes) ⇒ Object
222 223 224 |
# File 'lib/jeanny/engine.rb', line 222 def replace classes end |