module Grably::Core::TaskExtensions::Bucket
Public Instance Methods
<<(product_expr)
click to toggle source
Updates bucket with result of argument expand @see [Grably::Core::ProductExpand] @param product_expr @return [Task]
# File lib/grably/core/task/bucket.rb, line 11 def <<(product_expr) expand = Product.expand(product_expr, self) ensure_bucket @bucket += expand self # Allow chaining calls like end
bucket()
click to toggle source
# File lib/grably/core/task/bucket.rb, line 19 def bucket ensure_bucket end
ensure_bucket()
click to toggle source
# File lib/grably/core/task/bucket.rb, line 23 def ensure_bucket @bucket ||= [] end