Sha256: c64cb8eef6263e51f6f9f4c76c841086082576c8b5216d87d3f5595f83c66335
Contents?: true
Size: 775 Bytes
Versions: 2
Compression:
Stored size: 775 Bytes
Contents
module Vedeu # Provides a non-existent Vedeu::Border that acts like the real thing, but # does nothing. # class NullBorder # Returns a new instance of Vedeu::NullBorder. # # @param interface [Vedeu::Interface] # @return [Vedeu::NullBorder] def initialize(interface) @interface = interface end # @return [Fixnum] def bx interface.x end # @return [Fixnum] def bxn interface.xn end # @return [Fixnum] def by interface.y end # @return [Fixnum] def byn interface.yn end # @return [Array] def render [] end private # @!attribute [r] interface # @return [Vedeu::Interface] attr_reader :interface end # NullBorder end # Vedeu
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.4.11 | lib/vedeu/output/null_border.rb |
vedeu-0.4.10 | lib/vedeu/output/null_border.rb |