Class: String

Inherits:
Object show all
Defined in:
lib/typus/string.rb

Instance Method Summary collapse

Instance Method Details

#typus_actions_for(filter) ⇒ Object



3
4
5
# File 'lib/typus/string.rb', line 3

def typus_actions_for(filter)
  Typus::Configuration.config[self]['actions'][filter.to_s].split(', ') rescue []
end

#typus_defaults_for(filter) ⇒ Object



7
8
9
# File 'lib/typus/string.rb', line 7

def typus_defaults_for(filter)
  Typus::Configuration.config[self][filter.to_s].split(', ') rescue []
end