lib/right_on.rb in right_on-0.3.0 vs lib/right_on.rb in right_on-0.4.0

- old
+ new

@@ -2,7 +2,14 @@ require 'active_record' require 'rails' require 'right_on/railtie' require 'right_on/rights_manager' -end + def self.rights_yaml(file_path = nil) + if file_path + @rights_yaml = file_path + else + @rights_yaml + end + end +end