Class: Plist::PTag

### Home Classes Methods

### In Files

- lib/plist/parser.rb

### Parent

Object

### Methods

- ::inherited
- ::mappings
- ::new
- #to_ruby

### Class/Module Index

Quicksearch

- Plist
- Plist::Emit
- Plist::Listener
- Plist::PArray
- Plist::PData
- Plist::PDate
- Plist::PDict
- Plist::PFalse
- Plist::PInteger
- Plist::PKey
- Plist::PList
- Plist::PReal
- Plist::PString
- Plist::PTag
- Plist::PTrue
- Plist::StreamParser

No matching classes.

# Plist::PTag

### Attributes

children[RW]
text[RW]

### Public Class Methods

inherited( sub_class ) click to toggle source

    # File lib/plist/parser.rb, line 117
    def PTag::inherited( sub_class )
      key = sub_class.to_s.downcase
      key.gsub!(/^plist::/, '' )
      key.gsub!(/^p/, '')  unless key == "plist"

      @@mappings[key] = sub_class
    end

mappings() click to toggle source

    # File lib/plist/parser.rb, line 113
    def PTag::mappings
      @@mappings
    end

new() click to toggle source

    # File lib/plist/parser.rb, line 126
    def initialize
      @children = Array.new
    end

### Public Instance Methods

to_ruby() click to toggle source

    # File lib/plist/parser.rb, line 130
    def to_ruby
      raise "Unimplemented: " + self.class.to_s + "#to_ruby on #{self.inspect}"
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.