lib/vedeu/views/view.rb in vedeu-0.8.16 vs lib/vedeu/views/view.rb in vedeu-0.8.17
- old
+ new
@@ -45,11 +45,11 @@
# @return [Boolean]
attr_accessor :cursor_visible
alias cursor_visible? cursor_visible
# @!attribute [rw] name
- # @return [String|Symbol]
+ # @macro return_name
attr_accessor :name
# @!attribute [rw] wordwrap
# @return [Boolean]
attr_accessor :wordwrap
@@ -144,11 +144,11 @@
interface.visible?
end
private
- # @return [Vedeu::Buffers::Buffer]
+ # @macro buffer_by_name
def buffer
Vedeu.buffers.by_name(name)
end
# @macro defaults_method
@@ -164,10 +164,10 @@
wordwrap: true,
zindex: 0,
}
end
- # @return [Vedeu::Interfaces::Interface]
+ # @macro interface_by_name
def interface
Vedeu.interfaces.by_name(name)
end
end # View