RubyGems Navigation menu

action_controller-expose 0.1.0

`expose :foo` defines an attr_reader and helper_method. `expose :foo, -> { ... }` (or with a block) defines a memoized reader. Replaces the boilerplate of attr_reader + helper_method + def.

Gemfile:
=

install:
=

Versions:

  1. 0.1.0 May 11, 2026 (6 KB)

Runtime Dependencies (1):

actionpack >= 0

Development Dependencies (3):

bundler >= 0
rake >= 0
rspec ~> 3.0

Owners:

Pushed by:

Authors:

  • Micah Geisel

SHA 256 checksum:

=

Total downloads 125

For this version 125

Version Released:

License:

MIT

Required Ruby Version: >= 3.0.0

Links: