Class: SublimeDSL::TextMate::Theme::PListWriter
- Inherits:
-
Object
- Object
- SublimeDSL::TextMate::Theme::PListWriter
- Defined in:
- lib/sublime_dsl/textmate/theme/plist_writer.rb
Instance Attribute Summary collapse
-
#root ⇒ Object
readonly
Returns the value of attribute root.
-
#theme ⇒ Object
readonly
Returns the value of attribute theme.
Instance Method Summary collapse
- #export(file) ⇒ Object
-
#initialize(theme) ⇒ PListWriter
constructor
A new instance of PListWriter.
Constructor Details
#initialize(theme) ⇒ PListWriter
Returns a new instance of PListWriter.
12 13 14 15 16 |
# File 'lib/sublime_dsl/textmate/theme/plist_writer.rb', line 12 def initialize(theme) @theme = theme @root = {} convert_theme end |
Instance Attribute Details
#root ⇒ Object (readonly)
Returns the value of attribute root.
10 11 12 |
# File 'lib/sublime_dsl/textmate/theme/plist_writer.rb', line 10 def root @root end |
#theme ⇒ Object (readonly)
Returns the value of attribute theme.
9 10 11 |
# File 'lib/sublime_dsl/textmate/theme/plist_writer.rb', line 9 def theme @theme end |