lib/chirrin-chirrion.rb in chirrin-chirrion-0.3.0 vs lib/chirrin-chirrion.rb in chirrin-chirrion-0.4.0
- old
+ new
@@ -95,7 +95,16 @@
else
for_chirrion.respond_to?(:call) ? for_chirrion.call : for_chirrion
end
end
+ # Returns a list of registered toggles
+ # The objects of the list respond to the following basic methods:
+ # - name
+ # - active
+ # - description
+ def self.list
+ database_adapter.list
+ end
+
private_class_method :database_adapter
end