Class: Stormpath::Rails::Config::ReadFile
- Inherits:
-
Object
- Object
- Stormpath::Rails::Config::ReadFile
- Defined in:
- lib/stormpath/rails/config/read_file.rb
Instance Attribute Summary collapse
-
#file_path ⇒ Object
readonly
Returns the value of attribute file_path.
Instance Method Summary collapse
- #hash ⇒ Object
-
#initialize(file_path) ⇒ ReadFile
constructor
A new instance of ReadFile.
Constructor Details
#initialize(file_path) ⇒ ReadFile
Returns a new instance of ReadFile.
7 8 9 |
# File 'lib/stormpath/rails/config/read_file.rb', line 7 def initialize(file_path) @file_path = file_path end |
Instance Attribute Details
#file_path ⇒ Object (readonly)
Returns the value of attribute file_path.
5 6 7 |
# File 'lib/stormpath/rails/config/read_file.rb', line 5 def file_path @file_path end |
Instance Method Details
#hash ⇒ Object
11 12 13 |
# File 'lib/stormpath/rails/config/read_file.rb', line 11 def hash @hash ||= snakecased_hash end |