Class: Hanami::CLIBulma::Generators::App::ViewContext Private
- Inherits:
-
Hanami::CLI::Generators::App::ViewContext
- Object
- Hanami::CLI::Generators::App::ViewContext
- Hanami::CLIBulma::Generators::App::ViewContext
- Defined in:
- lib/hanami/cli_bulma/generators/app/view_context.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #crud? ⇒ Boolean private
Instance Method Details
#crud? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
12 13 14 |
# File 'lib/hanami/cli_bulma/generators/app/view_context.rb', line 12 def crud? %w[new edit index show].include?(name) end |