Method: Theme::Command::Open#find_theme
- Defined in:
- lib/project_types/theme/commands/open.rb
#find_theme(theme: nil, live: nil, development: nil, **_args) ⇒ Object
36 37 38 39 40 41 42 |
# File 'lib/project_types/theme/commands/open.rb', line 36 def find_theme(theme: nil, live: nil, development: nil, **_args) return theme_by_identifier(theme) if theme return live_theme if live return development_theme if development select_theme end |