Sha256: febe8556666d86a834360ab1b92de18a501350089be4c69e4ae6a476406a31ff
Contents?: true
Size: 430 Bytes
Versions: 24
Compression:
Stored size: 430 Bytes
Contents
# encoding: utf-8 module Punchblock class Event class End < Event register :end, :core include HasHeaders attribute :reason, Symbol attribute :platform_code, String def inherit(xml_node) if reason_node = xml_node.at_xpath('*') self.reason = reason_node.name self.platform_code = reason_node['platform-code'] end super end end end end
Version data entries
24 entries across 24 versions & 1 rubygems