class Haml::Generators::OauthConsumerGenerator

Public Instance Methods

copy_view_files() click to toggle source
# File lib/generators/haml/oauth_consumer_generator.rb, line 10
def copy_view_files
  template 'index.html.haml',              File.join('app/views', class_path, 'oauth_consumers', 'index.html.haml')
  template 'show.html.haml',               File.join('app/views', class_path, 'oauth_consumers', 'show.html.haml')
end

Protected Instance Methods

handler() click to toggle source
# File lib/generators/haml/oauth_consumer_generator.rb, line 16
def handler
  :haml
end