Flowdock
method

output_file_for

Importance_0
v3.2.8 - Show latest stable - 0 notes - Class: RailsGuides::Generator
output_file_for(guide) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/guides/rails_guides/generator.rb, line 178
    def output_file_for(guide)
      if guide =~/\.textile$/
        guide.sub(/\.textile$/, '.html')
      else
        guide.sub(/\.erb$/, '')
      end
    end
Register or log in to add new notes.