Class: Sparrowhawk::PublicDirMapper
- Inherits:
-
Object
- Object
- Sparrowhawk::PublicDirMapper
- Includes:
- FileEntryMapper
- Defined in:
- lib/sparrowhawk/public_dir_mapper.rb
Instance Attribute Summary collapse
-
#public_dir ⇒ Object
readonly
Returns the value of attribute public_dir.
Instance Method Summary collapse
-
#initialize ⇒ PublicDirMapper
constructor
A new instance of PublicDirMapper.
Methods included from FileEntryMapper
#each, #excluded?, #excluded_path_patterns, #expand_path, #file_entry_tuples
Constructor Details
#initialize ⇒ PublicDirMapper
Returns a new instance of PublicDirMapper.
8 9 10 11 |
# File 'lib/sparrowhawk/public_dir_mapper.rb', line 8 def initialize @public_dir = ('./public') @excluded_path_patterns = [%r{.*\.sass$}] end |
Instance Attribute Details
#public_dir ⇒ Object (readonly)
Returns the value of attribute public_dir.
6 7 8 |
# File 'lib/sparrowhawk/public_dir_mapper.rb', line 6 def public_dir @public_dir end |