Sha256: ae6008d8ebb83792274e36645316c47dc30f8ef64e71233ff23291bc08e9e70c
Contents?: true
Size: 689 Bytes
Versions: 56
Compression:
Stored size: 689 Bytes
Contents
# frozen_string_literal: true module Playbook module PbHomeAddressStreet class NoneEmphasis < Playbook::KitBase prop :address_house_style prop :address_house_style2 prop :city_state_zip prop :home_id, type: Playbook::Props::Number prop :home_url prop :new_window, type: Playbook::Props::Boolean, default: false prop :target prop :territory prop :dark, type: Playbook::Props::Boolean, default: false def target_option if target && home_url target elsif new_window "_blank" else "_self" end end end end end
Version data entries
56 entries across 56 versions & 1 rubygems