protected Method

Base.usage_message

Read USAGE from file in generator base path.

Source Code

# File rails_generator/base.rb, line 169
def usage_message
  File.read(File.join(spec.path, 'USAGE')) rescue ''
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.