Module: Glimmer::UI::CustomShell::ClassMethods

Includes:
Glimmer
Defined in:
lib/glimmer/ui/custom_shell.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#custom_shellObject (readonly)

Returns the value of attribute custom_shell.



33
34
35
# File 'lib/glimmer/ui/custom_shell.rb', line 33

def custom_shell
  @custom_shell
end

Instance Method Details

#launchObject



35
36
37
38
# File 'lib/glimmer/ui/custom_shell.rb', line 35

def launch
  custom_shell = send(self.name.underscore.gsub('::', '__'))
  custom_shell.open
end