Class: SkypeR::Parser::ProfileProperty
- Inherits:
-
Yaparc::AbstractParser
- Object
- Yaparc::AbstractParser
- SkypeR::Parser::ProfileProperty
- Defined in:
- lib/skyper/parser.rb
Overview
<profile_property> := PSTN_BALANCE | FULLNAME | BIRTHDAY | SEX | LANGUAGES | TIMEZONE
Instance Method Summary collapse
-
#initialize ⇒ ProfileProperty
constructor
A new instance of ProfileProperty.
Constructor Details
#initialize ⇒ ProfileProperty
Returns a new instance of ProfileProperty.
76 77 78 79 80 81 |
# File 'lib/skyper/parser.rb', line 76 def initialize properties = %w{PSTN_BALANCE FULLNAME BIRTHDAY SEX LANGUAGES TIMEZONE}.map {|item| Yaparc::Symbol.new(item)} @parser = lambda do Yaparc::AltParser.new(*properties) end end |