Skip to content

Commit

Permalink
Fixed Data#to_ruby for boolean values.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jan 15, 2010
1 parent fcf86cc commit 82c4f7f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/bert/data.rb
Expand Up @@ -227,11 +227,7 @@ def regex
def to_ruby
case type
when :boolean
if self.boolean == 1
true
else
false
end
self.boolean
when :integer
self.integer
when :float
Expand Down

0 comments on commit 82c4f7f

Please sign in to comment.