class Object

Public Instance Methods

hcl_list?() click to toggle source
# File lib/hcl/monkey_patch.rb, line 16
def hcl_list?
  self.kind_of?(Array) && self.first.hcl_object?
end
hcl_object?() click to toggle source
# File lib/hcl/monkey_patch.rb, line 13
def hcl_object?
  self.kind_of?(Hash)
end