lib/hari/entity/property.rb in hari-0.0.3 vs lib/hari/entity/property.rb in hari-0.0.4
- old
+ new
@@ -1,9 +1,8 @@
-require 'hari/entity/property/builder'
-
module Hari
class Entity
class Property
+ autoload :Builder, 'hari/entity/property/builder'
attr_accessor :name, :serializer, :options
def initialize(name, options = {})
@name, @options = name.to_s, options