Module: RogerStyleGuide

Defined in:
lib/roger_style_guide.rb,
lib/roger_style_guide/version.rb

Overview

RogerStyleGuide Version

Defined Under Namespace

Modules: Generators, Helpers, Templates

Constant Summary collapse

VERSION =
"1.0.1"

Class Method Summary collapse

Class Method Details

.components_pathsObject



10
11
12
# File 'lib/roger_style_guide.rb', line 10

def self.components_paths
  @components_paths || ["components"]
end

.components_paths=(path) ⇒ Object

The path within project.html_path where the components reside



6
7
8
# File 'lib/roger_style_guide.rb', line 6

def self.components_paths=(path)
  @components_paths = [path].flatten.map{|p| Pathname.new(p)}
end