diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/hcl/app.rb | 4 | ||||
| -rw-r--r-- | lib/hcl/timesheet_resource.rb | 2 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/lib/hcl/app.rb b/lib/hcl/app.rb index 14f626d..4f2530b 100644 --- a/lib/hcl/app.rb +++ b/lib/hcl/app.rb @@ -48,9 +48,9 @@ module HCl            if command? @command              result = send @command, *@args              if not result.nil? -              if result.respond_to? :join +              if result.respond_to? :join, include_all=false                  puts result.join(', ') -              elsif result.respond_to? :to_s +              elsif result.respond_to? :to_s, include_all=false                  puts result                end              end diff --git a/lib/hcl/timesheet_resource.rb b/lib/hcl/timesheet_resource.rb index e230f1f..271ac2c 100644 --- a/lib/hcl/timesheet_resource.rb +++ b/lib/hcl/timesheet_resource.rb @@ -12,7 +12,7 @@ module HCl        @data.key?(method.to_sym) ? @data[method] : super      end -    def respond_to? method +    def respond_to? method, include_all=false        (@data && @data.key?(method.to_sym)) || super      end | 
