lib/kilza/property.rb in kilza-1.0.1 vs lib/kilza/property.rb in kilza-1.0.2
- old
+ new
@@ -18,10 +18,10 @@
def is_array?
@is_array
end
def is_object?
- @type == 'object'
+ @type == 'object' or @type == @name.capitalize
end
def is_fixnum?
@type == 'fixnum'
end