Class: Isomorfeus::Puppetmaster::Select::Option
- Inherits:
-
Object
- Object
- Isomorfeus::Puppetmaster::Select::Option
- Defined in:
- lib/isomorfeus/puppetmaster/node/select.rb
Instance Method Summary collapse
Instance Method Details
#select ⇒ Object
6 7 8 |
# File 'lib/isomorfeus/puppetmaster/node/select.rb', line 6 def select @driver.select(self) end |
#selected? ⇒ Boolean
10 11 12 |
# File 'lib/isomorfeus/puppetmaster/node/select.rb', line 10 def selected? !!self[:selected] end |
#unselect ⇒ Object
14 15 16 |
# File 'lib/isomorfeus/puppetmaster/node/select.rb', line 14 def unselect @driver.unselect(self) end |