Sha256: 41f9b698692f1d55ce0e7ae193b3ee4c05f02b811fee4a51636a8f648c429210

Contents?: true

Size: 253 Bytes

Versions: 37

Compression:

Stored size: 253 Bytes

Contents

class String

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

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

end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
fesplugas-typus-0.9.0 lib/typus/string.rb
fesplugas-typus-0.9.1 lib/typus/string.rb
fesplugas-typus-0.9.10 lib/typus/string.rb
fesplugas-typus-0.9.11 lib/typus/string.rb
fesplugas-typus-0.9.12 lib/typus/string.rb
fesplugas-typus-0.9.13 lib/typus/string.rb
fesplugas-typus-0.9.14 lib/typus/string.rb
fesplugas-typus-0.9.15 lib/typus/string.rb
fesplugas-typus-0.9.16 lib/typus/string.rb
fesplugas-typus-0.9.17 lib/typus/string.rb
fesplugas-typus-0.9.2 lib/typus/string.rb
fesplugas-typus-0.9.3 lib/typus/string.rb
fesplugas-typus-0.9.4 lib/typus/string.rb
fesplugas-typus-0.9.5 lib/typus/string.rb
fesplugas-typus-0.9.6 lib/typus/string.rb
fesplugas-typus-0.9.7 lib/typus/string.rb
fesplugas-typus-0.9.8 lib/typus/string.rb
fesplugas-typus-0.9.9 lib/typus/string.rb
typus-0.9.35 lib/typus/string.rb
typus-0.9.34 lib/typus/string.rb