Sha256: c3ff1f6c6b4341e03cf2b30978669ba84618afe4a76fbd8791ddacf6edd686a4
Contents?: true
Size: 745 Bytes
Versions: 1
Compression:
Stored size: 745 Bytes
Contents
# frozen_string_literal: true module Playbook module PbHomeAddressStreet class HomeAddressStreet include Playbook::Props partial "pb_home_address_street/home_address_street" prop :address prop :city prop :home_id, type: Playbook::Props::Number prop :house_style prop :state prop :zipcode prop :dark, type: Playbook::Props::Boolean, default: false def classname generate_classname("pb_home_address_street_kit", dark_class) end def city_state "#{city}, #{state}" end def address_house_style "#{address} \u00b7 #{house_style}" end private def dark_class dark ? "dark" : nil end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-2.9.3 | app/pb_kits/playbook/pb_home_address_street/home_address_street.rb |