Sha256: 1b4663efccdacfbb2eae1004d4113effc2d9604e2d4105305507d4da00de4636
Contents?: true
Size: 960 Bytes
Versions: 3
Compression:
Stored size: 960 Bytes
Contents
# frozen_string_literal: true module Vedeu module Borders # Allows the storing of interface/view borders independent of the # interface instance. # class Repository < Vedeu::Repositories::Repository singleton_class.send(:alias_method, :borders, :repository) null Vedeu::Borders::Border, enabled: false real Vedeu::Borders::Border end # Repository end # Borders # {include:file:docs/dsl/by_method/borders.md} # @!method borders # @return [Vedeu::Borders::Repository] def_delegators Vedeu::Borders::Repository, :borders # :nocov: # See {file:docs/events/by_name/set_border_caption.md} Vedeu.bind(:_set_border_caption_) do |name, caption| Vedeu.borders.by_name(name).caption = caption end # See {file:docs/events/by_name/set_border_title.md} Vedeu.bind(:_set_border_title_) do |name, title| Vedeu.borders.by_name(name).title = title end # :nocov: end # Vedeu
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vedeu-0.8.10 | lib/vedeu/borders/repository.rb |
vedeu-0.8.9 | lib/vedeu/borders/repository.rb |
vedeu-0.8.8 | lib/vedeu/borders/repository.rb |