instance method
file_name
Ruby on Rails 7.1.6
Since v5.2.8.1 PrivateSignature
file_name()
No documentation comment.
Source
# File actioncable/lib/rails/generators/channel/channel_generator.rb, line 89
def file_name
@_file_name ||= super.sub(/_channel\z/i, "")
end
Defined in actioncable/lib/rails/generators/channel/channel_generator.rb line 89
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::ChannelGenerator