Methods

Included Modules

Class Index

Quicksearch

Ziya::YamlHelpers::Maps

Public Instance Methods

config( component_name ) click to toggle source

(Not documented)

    # File lib/ziya/yaml_helpers/maps.rb, line 10
10:   def config( component_name )
11:     "#{component_name}: #{clazz component_name, 'Maps::Support'}"
12:   end
level() click to toggle source

(Not documented)

    # File lib/ziya/yaml_helpers/maps.rb, line 14
14:   def level
15:     "- " + config( :range )
16:   end
map( class_name ) click to toggle source

Defines various helpers to assist in writing ZiYa yaml stylesheets.

   # File lib/ziya/yaml_helpers/maps.rb, line 6
6:   def map( class_name )
7:     "--- #{clazz( class_name, :Maps )}"
8:   end

secsequence

--- SEC00289

seccomment

--- ""

method_list

--- 
- methods: 
  - visibility: public
    aref: M000006
    name: config
    sourcecode: "    <span class=\"ruby-comment cmt\"># File lib/ziya/yaml_helpers/maps.rb, line 10</span>\n\
      10:   <span class=\"ruby-keyword kw\">def</span> <span class=\"ruby-identifier\">config</span>( <span class=\"ruby-identifier\">component_name</span> )\n\
      11:     <span class=\"ruby-node\">&quot;#{component_name}: #{clazz component_name, 'Maps::Support'}&quot;</span>\n\
      12:   <span class=\"ruby-keyword kw\">end</span>"
    params: ( component_name )
  - visibility: public
    aref: M000007
    name: level
    sourcecode: "    <span class=\"ruby-comment cmt\"># File lib/ziya/yaml_helpers/maps.rb, line 14</span>\n\
      14:   <span class=\"ruby-keyword kw\">def</span> <span class=\"ruby-identifier\">level</span>\n\
      15:     <span class=\"ruby-value str\">&quot;- &quot;</span> <span class=\"ruby-operator\">+</span> <span class=\"ruby-identifier\">config</span>( <span class=\"ruby-identifier\">:range</span> )\n\
      16:   <span class=\"ruby-keyword kw\">end</span>"
    params: ()
  - visibility: public
    aref: M000005
    name: map
    sourcecode: "   <span class=\"ruby-comment cmt\"># File lib/ziya/yaml_helpers/maps.rb, line 6</span>\n\
      6:   <span class=\"ruby-keyword kw\">def</span> <span class=\"ruby-identifier\">map</span>( <span class=\"ruby-identifier\">class_name</span> )\n\
      7:     <span class=\"ruby-node\">&quot;--- #{clazz( class_name, :Maps )}&quot;</span>\n\
      8:   <span class=\"ruby-keyword kw\">end</span>"
    m_desc: |-
      <p>
      Defines various helpers to assist in writing ZiYa yaml stylesheets.
      </p>
    params: ( class_name )
  category: Instance
  type: Public

sectitle

--- 

[Validate]

Generated with the Darkfish Rdoc Generator.