Class: Hanami::CLIBulma::Generators::App::ViewContext Private

Inherits:
Hanami::CLI::Generators::App::ViewContext
  • Object
show all
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.

Since:

  • 2.1.0

Instance Method Summary collapse

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.

Returns:

  • (Boolean)

Since:

  • 2.1.0



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