Class: Mapel::Engine
- Inherits:
-
Object
- Object
- Mapel::Engine
- Defined in:
- lib/mapel.rb
Direct Known Subclasses
Defined Under Namespace
Classes: ImageMagick
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#commands ⇒ Object
Returns the value of attribute commands.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(source = nil) ⇒ Engine
constructor
A new instance of Engine.
- #success? ⇒ Boolean
Constructor Details
#initialize(source = nil) ⇒ Engine
Returns a new instance of Engine.
26 27 28 29 |
# File 'lib/mapel.rb', line 26 def initialize(source = nil) @source = source @commands = [] end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
23 24 25 |
# File 'lib/mapel.rb', line 23 def command @command end |
#commands ⇒ Object
Returns the value of attribute commands.
24 25 26 |
# File 'lib/mapel.rb', line 24 def commands @commands end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
23 24 25 |
# File 'lib/mapel.rb', line 23 def output @output end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
23 24 25 |
# File 'lib/mapel.rb', line 23 def status @status end |
Instance Method Details
#success? ⇒ Boolean
31 32 33 |
# File 'lib/mapel.rb', line 31 def success? @status end |