Sha256: 0fe63ce41b5ed5e7fd48619180af790f4851858ff1ce052f8da9a36ba8b33612

Contents?: true

Size: 389 Bytes

Versions: 16

Compression:

Stored size: 389 Bytes

Contents

class Rubyfocus::Setting < Rubyfocus::Item
	include Rubyfocus::Parser
	def self.matches_node?(node)
		return (node.name == "xmlns:plist")
	end
	
	attr_accessor :value

	def apply_xml(n)
		super(n)
		conditional_set(:value, n.at_xpath("xmlns:plist").children.first){ |e| Rubyfocus::XMLTranslator.parse(e) }
	end

	def inspect
		form_inspector(:id, :name, :value, :added, :modified)
	end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rubyfocus-0.5.16 lib/rubyfocus/items/setting.rb
rubyfocus-0.5.15 lib/rubyfocus/items/setting.rb
rubyfocus-0.5.14 lib/rubyfocus/items/setting.rb
rubyfocus-0.5.13 lib/rubyfocus/items/setting.rb
rubyfocus-0.5.12 lib/rubyfocus/items/setting.rb
rubyfocus-0.5.11 lib/rubyfocus/items/setting.rb
rubyfocus-0.5.9 lib/rubyfocus/items/setting.rb
rubyfocus-0.5.6 lib/rubyfocus/items/setting.rb
rubyfocus-0.5.5 lib/rubyfocus/items/setting.rb
rubyfocus-0.5.4 lib/rubyfocus/items/setting.rb
rubyfocus-0.5.3 lib/rubyfocus/items/setting.rb
rubyfocus-0.5.2 lib/rubyfocus/items/setting.rb
rubyfocus-0.5.1 lib/rubyfocus/items/setting.rb
rubyfocus-0.4.0 lib/rubyfocus/items/setting.rb
rubyfocus-0.3.1 lib/rubyfocus/items/setting.rb
rubyfocus-0.3.0 lib/rubyfocus/items/setting.rb