Class: ActiveVlc::Stage::Base
- Inherits:
-
Object
- Object
- ActiveVlc::Stage::Base
- Includes:
- PipelineDump
- Defined in:
- lib/activevlc/stage/base.rb
Constant Summary
Constants included from PipelineDump
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
- #[](key) ⇒ Object
- #[]=(key, value) ⇒ Object
- #fragment ⇒ Object
-
#initialize(type = :dummy) ⇒ Base
constructor
A new instance of Base.
Methods included from PipelineDump
#_dump, #_dump_depth, #_find_in_ancestors
Constructor Details
#initialize(type = :dummy) ⇒ Base
Returns a new instance of Base.
21 22 23 24 |
# File 'lib/activevlc/stage/base.rb', line 21 def initialize(type = :dummy) = Hash.new @type = type end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
19 20 21 |
# File 'lib/activevlc/stage/base.rb', line 19 def end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
18 19 20 |
# File 'lib/activevlc/stage/base.rb', line 18 def type @type end |
Instance Method Details
#[](key) ⇒ Object
26 |
# File 'lib/activevlc/stage/base.rb', line 26 def [](key) [key] end |
#[]=(key, value) ⇒ Object
27 |
# File 'lib/activevlc/stage/base.rb', line 27 def []=(key, value) [key] = value end |
#fragment ⇒ Object
29 30 31 |
# File 'lib/activevlc/stage/base.rb', line 29 def fragment _recurse_on_suboption(@type, ) end |