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.
- data/lib/comma/extractors.rb +3 -1
- metadata +1 -1
data/lib/comma/extractors.rb
CHANGED
@@ -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
|
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
|