lib/vedeu/support/sentence.rb in vedeu-0.4.9 vs lib/vedeu/support/sentence.rb in vedeu-0.4.10
- old
+ new
@@ -13,9 +13,11 @@
# @return [String]
def self.construct(elements, label = 'elements')
new(elements, label).construct
end
+ # Returns a new instance of Vedeu::Sentence.
+ #
# @param elements [Array]
# @param label [String]
# @return [Vedeu::Sentence]
def initialize(elements, label)
@elements, @label = elements, label