lib/ib/outlets.rb in ib-0.1.3 vs lib/ib/outlets.rb in ib-0.1.4
- old
+ new
@@ -2,9 +2,26 @@
def ib_outlet name, type = "id"
end
def outlet_accessor name, type = "id"
+ puts "Depricated: use `outlet` instead of `outlet_accessor`"
+ attr_accessor name
+ end
+
+ def outlet name, type = "id"
+ attr_accessor name
+ end
+
+ def ib_outlet_collection name, type = "id"
+ end
+
+ def outlet_collection_accessor name, type = "id"
+ puts "Depricated: use `outlet_collection` instead of `outlet_collection_accessor`"
+ attr_accessor name
+ end
+
+ def outlet_collection name, type = "id"
attr_accessor name
end
def ib_action name
end