Module: Junoser::Display

Defined in:
lib/junoser/display.rb,
lib/junoser/display/set.rb,
lib/junoser/display/structure.rb,
lib/junoser/display/enumerable.rb,
lib/junoser/display/config_store.rb

Defined Under Namespace

Modules: Enumerable Classes: ConfigStore, Set, Structure

Class Method Summary collapse

Class Method Details

.display_set?(str) ⇒ Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/junoser/display.rb', line 9

def display_set?(str)
  str =~ /\Aset|deactivate/
end

.structured?(str) ⇒ Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/junoser/display.rb', line 13

def structured?(str)
  !display_set?(str)
end