Class: Pipl::Gender
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
Attributes inherited from Field
#current, #inferred, #last_seen, #valid_since
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Gender
constructor
A new instance of Gender.
- #to_hash ⇒ Object
- #to_s ⇒ Object
Methods inherited from Field
base_params_from_hash, extra_metadata, from_hash, #is_searchable?
Methods included from Utils
alnum_chars, alpha_chars, date_to_str, extract_rate_limits, is_valid_url?, str_to_date, titleize, to_utf8
Constructor Details
#initialize(params = {}) ⇒ Gender
Returns a new instance of Gender.
572 573 574 575 |
# File 'lib/pipl/fields.rb', line 572 def initialize(params={}) super params @content = params[:content] end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
570 571 572 |
# File 'lib/pipl/fields.rb', line 570 def content @content end |