Sha256: 49d7a246a409a85aa3b4b2b3d4d5017fee418adb68ae372141a3e5820a0bb5fe

Contents?: true

Size: 166 Bytes

Versions: 12

Compression:

Stored size: 166 Bytes

Contents

Coprl::Presenters.define(:replace_text) do

  content id: :replace_me do
    display context['text'] ? "#{context['text']} on #{Time.now}" : "Orignal text"
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 app/demo/events/actions/replace_text.pom
coprl-3.0.0.beta.11 app/demo/events/actions/replace_text.pom
coprl-3.0.0.beta.10 app/demo/events/actions/replace_text.pom
coprl-3.0.0.beta.9 app/demo/events/actions/replace_text.pom
coprl-3.0.0.beta.8 app/demo/events/actions/replace_text.pom
coprl-3.0.0.beta.7 app/demo/events/actions/replace_text.pom
coprl-3.0.0.beta.6 app/demo/events/actions/replace_text.pom
coprl-3.0.0.beta.5 app/demo/events/actions/replace_text.pom
coprl-3.0.0.beta.4 app/demo/events/actions/replace_text.pom
coprl-3.0.0.beta.3 app/demo/events/actions/replace_text.pom
coprl-3.0.0.beta.2 app/demo/events/actions/replace_text.pom
coprl-3.0.0.beta.1 app/demo/events/actions/replace_text.pom