Class: AppleNews::Property::Anchor
- Defined in:
- lib/apple-news/properties/anchor.rb
Instance Method Summary collapse
Methods included from AppleNews::Properties
Instance Method Details
#valid? ⇒ Boolean
8 9 10 11 12 |
# File 'lib/apple-news/properties/anchor.rb', line 8 def valid? super && [ 'top', 'center', 'bottom' ].include?(target_anchor_position) end |