Module: RadiantTools::Visibility
- Defined in:
- lib/radiant_tools/visibility.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.init ⇒ Object
2 3 4 |
# File 'lib/radiant_tools/visibility.rb', line 2 def self.init Page.send :extend, self end |
Instance Method Details
#visible_to(reader) ⇒ Object
6 7 8 |
# File 'lib/radiant_tools/visibility.rb', line 6 def visible_to(reader) self.scoped end |