Class: Automux::Null::Base
- Inherits:
-
Object
- Object
- Automux::Null::Base
- Defined in:
- lib/automux/null/base.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Base
constructor
A new instance of Base.
- #path ⇒ Object
Constructor Details
#initialize(name) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/automux/null/base.rb', line 6 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/automux/null/base.rb', line 4 def name @name end |
Instance Method Details
#path ⇒ Object
10 11 12 |
# File 'lib/automux/null/base.rb', line 10 def path '/dev/null' end |