Browse Source

Added ::Master::source()

Simply prints STM source
Alois Mahdal (@azzgoat) 12 years ago
parent
commit
a577527691
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      lib/SugarTrail/Template/Master.pm

+ 2
- 0
lib/SugarTrail/Template/Master.pm View File

120
     return join $d1, @t;
120
     return join $d1, @t;
121
 }
121
 }
122
 
122
 
123
+sub source { return $_[0]->{text} }
124
+
123
 1;
125
 1;