Sha256: 9d5bca5fd7c68d561de10586e9db8e901ec8694f10d46014757a17ffe540875f

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 KB

Contents

--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: 
- !ruby/object:RI::MethodSummary 
  name: included
comment: 
- !ruby/struct:SM::Flow::H 
  level: 1
  text: Buildable
- !ruby/struct:SM::Flow::P 
  body: Buildable is mixin variation of BuildingBlock.
- !ruby/struct:SM::Flow::VERB 
  body: "  require 'facets/buildable'\n  require 'xmlmarkup'  # hypothetical library\n\n  module XMLMarkup\n    include Buildable\n    alias :build :element\n  end\n\n  doc = XMLMarkup.build do\n    html do\n      head do\n        title "Test"\n      end\n      body do\n        i "Hello"\n        br\n        text "Test"\n        text "Hey"\n      end\n    end\n  end\n"
- !ruby/struct:SM::Flow::P 
  body: <em>produces</em>
- !ruby/struct:SM::Flow::VERB 
  body: "  &lt;html&gt;&lt;head&gt;&lt;title&gt;Test&lt;/title&gt;&lt;body&gt;<em>Hello</em>&lt;br /&gt;TestHey&lt;/body&gt;&lt;/html&gt;\n"
- !ruby/struct:SM::Flow::P 
  body: This is based on BuildingBlock. Refer to it for more information.
constants: []

full_name: Buildable
includes: []

instance_methods: []

name: Buildable
superclass: 

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facets-2.4.2 doc/ri/Buildable/cdesc-Buildable.yaml
facets-2.4.3 doc/ri/Buildable/cdesc-Buildable.yaml