class Strongbolt::Generators::ViewsGenerator

Public Instance Methods

copy_views() click to toggle source
# File lib/generators/strongbolt/views_generator.rb, line 15
def copy_views
  directory :strongbolt, target_path
end

Protected Instance Methods

target_path() click to toggle source
# File lib/generators/strongbolt/views_generator.rb, line 21
def target_path
  @target_path ||= "app/views/#{scope || :strongbolt}"
end