crafterm-comma 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/comma/extractors.rb +3 -1
  2. metadata +1 -1
@@ -45,8 +45,10 @@ module Comma
45
45
  arg.each do |k, v|
46
46
  @results << @instance.send(sym).send(k).to_s
47
47
  end
48
- when Symbol, String
48
+ when Symbol
49
49
  @results << @instance.send(sym).send(arg).to_s
50
+ when String
51
+ @results << @instance.send(sym).to_s
50
52
  else
51
53
  raise "Unknown data symbol #{arg.inspect}"
52
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crafterm-comma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcus Crafter