Class: CartoCSSHelper::StyleSpecificData

Inherits:
Object
  • Object
show all
Defined in:
lib/cartocss_helper/style_specific/style_specific.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(min_z, max_z, list_of_documented_tags, list_of_documented_compositions, name_label_is_not_required) ⇒ StyleSpecificData

Returns a new instance of StyleSpecificData.



6
7
8
9
10
11
12
# File 'lib/cartocss_helper/style_specific/style_specific.rb', line 6

def initialize(min_z, max_z, list_of_documented_tags, list_of_documented_compositions, name_label_is_not_required)
  @min_z = min_z
  @max_z = max_z
  @list_of_documented_tags = list_of_documented_tags
  @list_of_documented_compositions = list_of_documented_compositions
  @name_label_is_not_required = name_label_is_not_required
end

Instance Attribute Details

#list_of_documented_compositionsObject (readonly)

Returns the value of attribute list_of_documented_compositions.



5
6
7
# File 'lib/cartocss_helper/style_specific/style_specific.rb', line 5

def list_of_documented_compositions
  @list_of_documented_compositions
end

#list_of_documented_tagsObject (readonly)

Returns the value of attribute list_of_documented_tags.



5
6
7
# File 'lib/cartocss_helper/style_specific/style_specific.rb', line 5

def list_of_documented_tags
  @list_of_documented_tags
end

#max_zObject (readonly)

Returns the value of attribute max_z.



5
6
7
# File 'lib/cartocss_helper/style_specific/style_specific.rb', line 5

def max_z
  @max_z
end

#min_zObject (readonly)

Returns the value of attribute min_z.



5
6
7
# File 'lib/cartocss_helper/style_specific/style_specific.rb', line 5

def min_z
  @min_z
end

#name_label_is_not_requiredObject (readonly)

Returns the value of attribute name_label_is_not_required.



5
6
7
# File 'lib/cartocss_helper/style_specific/style_specific.rb', line 5

def name_label_is_not_required
  @name_label_is_not_required
end