Class: BuildingSync::Measure
- Inherits:
-
Object
- Object
- BuildingSync::Measure
- Defined in:
- lib/buildingsync/model_articulation/measure.rb
Overview
Measure class
Instance Method Summary collapse
-
#initialize(base_xml, ns) ⇒ Measure
constructor
initialize.
Methods included from XmlGetSet
#get_prefix, #xget_attribute_for_element, #xget_element, #xget_id, #xget_idrefs, #xget_linked_premises, #xget_name, #xget_or_create, #xget_plurals_text_value, #xget_text, #xget_text_as_bool, #xget_text_as_date, #xget_text_as_dt, #xget_text_as_float, #xget_text_as_integer, #xset_or_create, #xset_text
Methods included from Helper
#help_calculate_hours, #help_convert, #help_count_number_of_days, #help_element_class_type_check, #help_get_attribute_value, #help_get_default_schedule_set, #help_get_duration, #help_get_end_time, #help_get_end_time_sat, #help_get_end_time_sun, #help_get_end_time_weekday, #help_get_or_create, #help_get_schedule_rule_set_from_schedule, #help_get_start_time, #help_get_start_time_sat, #help_get_start_time_sun, #help_get_start_time_weekday, #help_get_text_value, #help_get_text_value_as_bool, #help_get_text_value_as_date, #help_get_text_value_as_datetime, #help_get_text_value_as_float, #help_get_text_value_as_integer, #help_get_zone_name_list, #help_load_doc, #help_print_all_schedules, #help_print_schedule, #help_write_profile
Constructor Details
#initialize(base_xml, ns) ⇒ Measure
initialize
50 51 52 53 54 55 |
# File 'lib/buildingsync/model_articulation/measure.rb', line 50 def initialize(base_xml, ns) @base_xml = base_xml @ns = ns help_element_class_type_check(base_xml, 'Measure') end |